<template>
	<view class="page">
		<view class="head">
			<image @click="back" class="back" src="../../static/wdyy.png" mode=""></image>
		</view>
		<view class="video">

		</view>
		<view class="videoDetail">
			<view class="title">
				<text>一句话智能生图</text>
				<image src="../../static/yyz.png" mode=""></image>
			</view>
			<view class="novice">
				新手必备
			</view>
			<view class="content">
				在Chatgpt出圈的时候，我才开始了解和学习AIGC。我自己就是 从一个电脑小白，到现在AIGC已经融入了我的工作和生
				在Chatgpt出圈的时候，我才开始了解和学习AIGC。我自己就是 从一个电脑小白，到现在AIGC已经融入了我的工作和生
			</view>
			<view class="bot">
				<text class="price">¥9.9</text>
				<view class="FX1"></view>
				<image src="../../static/yyy.png" mode=""></image>
				<text class="lookNum">1205</text>
			</view>
		</view>
		<view class="line"></view>
		<view class="course_teacher">
			<view class="title">
				课程老师
			</view>
			<view class="box">
				<image src="../../static/logo.png" mode=""></image>
				<view class="">
					<view class="">
						李老师
					</view>
					<view class="tips">
						优秀教师
					</view>
				</view>
			</view>
		</view>
		<view class="line"></view>
		<view class="course_outline">
		</view>
		<view class="course_title">
			课程大纲
		</view>
		<view class="course_num">
			共28节课
		</view>
		<view class="course_list" v-for="(item,index) in 3" :key="index">
			<view class="logo">
				0{{index+1}}
			</view>
			<view class="right">
				<view class="right_left">
					<view class="title">
						第一章：ai人工智能的介绍
					</view>
					<view class="right_left_bottom">
						<image class="ico" src="../../static/kcIco1.png" mode=""></image>
						<text class="tex">视频</text>
						<image class="ico" src="../../static/kcIco2.png" mode=""></image>
						<text class="tex">02:36</text>
					</view>
				</view>
				<image class="right_right" src="../../static/kcbg2.png" mode=""></image>
			</view>
		</view>
		<view class="lookAll">
			查看全部28节课&nbsp;&nbsp;>
		</view>
		<view class="line"></view>
		<view class="evaluate">
			<view class="title">
				评价（3）
			</view>
			<view class="evaluate_list">
				<view class="evaluate_head">
					<image src="../../static/logo.png" mode=""></image>
					李****
				</view>
				<view class="content">
					在Chatgpt出圈的时候，我才开始了解和学习AIGC。我自己就是从一个电脑小白，到现在AIGC已经融入了我的工作和生活。
				</view>
				<view class="date">
					2024年4月20日
				</view>
			</view>
		</view>
		<view class="lookAll">
			查看全部评价&nbsp;&nbsp;>
		</view>
		<view class="line"></view>
		<view class="introduce">
			<view class="title">课程介绍</view>
			<view class="content">

			</view>
		</view>
		<view class="foot">
			<image src="../../static/kckf.png" mode=""></image>
			<view class="btn">立即购买</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {},
		methods: {
			back() {
				uni.navigateBack()
			}
		}
	}
</script>

<style lang='css' scoped>
	.line {
		width: 100%;
		height: 28rpx;
		background: #F6F6F6;
	}

	.head {
		width: 100%;
		height: 176rpx;
		background-image: url('../../static/kcbg.png');
		background-size: 100% 100%;

		.back {
			width: 21rpx;
			height: 31rpx;
			margin-top: 96rpx;
			margin-left: 33rpx;
			z-index: 999;
		}
	}

	.video {
		width: 750rpx;
		height: 420rpx;
		background: linear-gradient(0deg, rgba(115, 163, 255, 0.82), rgba(255, 255, 255, 0));

	}

	.videoDetail {
		padding: 40rpx 25rpx;

		.title {
			display: flex;
			align-items: center;
			justify-content: space-between;
			font-weight: bold;
			font-size: 32rpx;
			color: #000000;
			margin-bottom: 15rpx;

			image {
				width: 40rpx;
				height: 40rpx;
			}
		}

		.novice {
			margin-bottom: 35rpx;
			width: 130rpx;
			height: 40rpx;
			line-height: 40rpx;
			background: rgba(235, 241, 255, 0);
			border-radius: 10rpx;
			border: 1px solid #0F4BCB;
			font-weight: 400;
			font-size: 24rpx;
			color: #0F4BCB;
			text-align: center;
		}

		.content {
			font-weight: 400;
			font-size: 24rpx;
			color: #999999;
			margin-bottom: 43rpx;
			line-height: 38rpx;
		}

		.bot {
			display: flex;
			align-items: center;

			.price {
				font-weight: 400;
				font-size: 36rpx;
				color: #0F4BCB;
			}

			image {
				width: 30rpx;
				height: 30rpx;
				margin-right: 6rpx;
			}

			.lookNum {
				font-weight: 400;
				font-size: 24rpx;
				color: #999999;
			}
		}
	}

	.course_teacher {
		.title {
			font-weight: bold;
			font-size: 32rpx;
			color: #333333;
			line-height: 50rpx;
			padding: 50rpx 0 27rpx 24rpx;
		}

		.box {
			width: 710rpx;
			height: 130rpx;
			background: #F6F6F6;
			box-shadow: 0rpx 2rpx 22rpx 5rpx rgba(7, 67, 200, 0.1);
			border-radius: 25rpx;
			margin: 0 20rpx;
			margin-bottom: 46rpx;
			display: flex;
			align-items: center;

			image {
				width: 90rpx;
				height: 90rpx;
				background: #CEDFFF;
				border-radius: 50%;
				margin-right: 33rpx;
				margin-left: 23rpx;
			}

			.name {
				font-weight: 400;
				font-size: 28rpx;
				color: #333333;
				margin-bottom: 15rpx;
			}

			.tips {
				font-weight: 400;
				font-size: 24rpx;
				color: #888888;
			}
		}
	}

	.course_title {
		font-weight: bold;
		font-size: 32rpx;
		color: #333333;
		margin-left: 23rpx;
		margin-bottom: 18rpx;
		padding-top: 47rpx;
	}

	.course_num {
		font-weight: 400;
		font-size: 24rpx;
		color: #666666;
		margin-left: 23rpx;
		margin-right: 23rpx;
		padding-bottom: 35rpx;
		border-bottom: 1rpx solid #CCCCCC;
	}

	.course_list {
		padding: 33rpx 37rpx 0 37rpx;
		display: flex;
		align-items: center;

		.logo {
			display: flex;
			align-items: center;
			justify-content: center;
			font-weight: bold;
			font-size: 30rpx;
			color: #FFFFFF;
			width: 80rpx;
			height: 80rpx;
			background-image: url("../../static/kcbg3.png");
			background-size: 100% 100%;
			margin-right: 30rpx;
			margin-bottom: 43rpx;
		}

		.right {
			display: flex;
			align-items: center;
			justify-content: space-between;
			flex: 1;
			padding-bottom: 43rpx;
			border-bottom: 1rpx solid #CCCCCC;

			.title {
				font-weight: 400;
				font-size: 26rpx;
				color: #333333;
				margin-bottom: 13rpx;
			}

			.right_left_bottom {
				display: flex;
				align-items: center;

				.ico {
					width: 30rpx;
					height: 30rpx;
					margin-right: 8rpx;
				}

				.tex {
					font-size: 24rpx;
					color: #666666;
					margin-right: 43rpx;
				}
			}

			.right_right {
				width: 41rpx;
				height: 41rpx;
			}

		}

	}

	.course_list:last-child {
		.right {
			border: none;
		}
	}

	.evaluate {
		.title {
			font-weight: bold;
			font-size: 32rpx;
			color: #333333;
			padding: 57rpx 20rpx 44rpx 20rpx;
		}

		.evaluate_list {
			border-bottom: 1rpx solid #CCCCCC;

			.evaluate_head {
				display: flex;
				align-items: center;
				font-weight: 400;
				font-size: 24rpx;
				color: #333333;
				padding: 0 20rpx 33rpx 20rpx;

				image {
					width: 70rpx;
					height: 70rpx;
					border-radius: 50%;
					margin-right: 20rpx;
				}
			}

			.content {
				font-weight: 400;
				font-size: 24rpx;
				color: #333333;
				line-height: 33rpx;
				margin: 0 20rpx 37rpx 20rpx;
			}

			.date {
				font-weight: 400;
				font-size: 24rpx;
				color: #999999;
				padding: 0 20rpx 37rpx 20rpx;
			}
		}
	}

	.introduce {
		padding: 57rpx 20rpx 140rpx 20rpx;

		.title {
			font-weight: bold;
			font-size: 32rpx;
			color: #333333;
			margin-bottom: 30rpx;
		}

		.content {
			width: 710rpx;
			height: 350rpx;
			background: #D3D3D3;
		}
	}

	.lookAll {
		padding: 57rpx 0;
		text-align: center;
		font-size: 24rpx;
		color: #666666;
	}

	.foot {
		position: fixed;
		bottom: 0;
		width: calc(100% - 60rpx);
		display: flex;
		align-items: center;
		padding: 34rpx 30rpx;
		background-color: #FFFFFF;
		image {
			width: 50rpx;
			height: 50rpx;
			margin-right: 45rpx;
		}

		.btn {
			flex: 1;
			height: 70rpx;
			line-height: 70rpx;
			background: #2168EA;
			border-radius: 35rpx;
			text-align: center;
			font-weight: 400;
			font-size: 32rpx;
			color: #FFFFFF;
		}
	}
</style>